gdk_pixbuf_get_from_surface: Avoid copying if source is image surface
authorAlexander Larsson <alexl@redhat.com>
Tue, 6 Aug 2013 14:18:13 +0000 (16:18 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 7 Aug 2013 11:34:10 +0000 (13:34 +0200)
commit54f5e4af53f520fa621218e02110c40286975513
tree90a18a9f8cdbf532814b26fa1f2660430352b2ed
parent9bde6b10ef7b23918112eb37958867cfb2f812e6
gdk_pixbuf_get_from_surface: Avoid copying if source is image surface

If the source surface is an image surface we don't need to coerce
it to one.
gdk/gdkpixbuf-drawable.c